﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Serialization;

namespace ImmlPad
{
    public class Session
    {
        public List<SessionData> Data { get; set; }

        public Session()
        {
            this.Data = new List<SessionData>();
        }

        public void Add(string filename, string foldingStates)
        {
            this.Data.Add(new SessionData { Filename = filename, FoldingStates = foldingStates }); 
        }
    }

    public class SessionData
    {
        public string Filename { get; set; }
        public string FoldingStates { get; set; }
        public bool EnableRenderedView { get; set; }
    }
}
